package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 期数
 *
 */
@TableName(value = "period")
public class Period implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Period> createExample(){
		return new Example<Period>(Period.class);
	}

	/**  */
	@TableId(value = "period_id")
	private Long periodId;

	/** 期号 */
	@TableField(value = "period_no")
	private Integer periodNo;

	/** 段数 */
	private Integer segments;

	/** 开始日期 */
	@TableField(value = "start_date")
	private Date startDate;

	/** 结束日期 */
	@TableField(value = "end_date")
	private Date endDate;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否当前期 0:否 1：是 */
	@TableField("is_current")
	private Integer isCurrent ;

	@TableField("period_name")
	private String periodName ;

	@TableField("area_team_id")
	private Long areaTeamId ;

	@TableField("sequential_periodIds")
	private String sequentialPeriodIds;

	@TableField("step_periodIds")
	private String stepPeriodIds;

	@TableField("with_period_id")
	private Long withPeriodId;

	public Long getPeriodId() {
		return this.periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public Integer getPeriodNo() {
		return this.periodNo;
	}

	public void setPeriodNo(Integer periodNo) {
		this.periodNo = periodNo;
	}

	public Integer getSegments() {
		return this.segments;
	}

	public void setSegments(Integer segments) {
		this.segments = segments;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsCurrent() {
		return isCurrent;
	}

	public void setIsCurrent(Integer isCurrent) {
		this.isCurrent = isCurrent;
	}

	public String getPeriodName() {
		return periodName;
	}

	public void setPeriodName(String periodName) {
		this.periodName = periodName;
	}

	public Long getAreaTeamId() {
		return areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public String getSequentialPeriodIds() {
		return sequentialPeriodIds;
	}

	public void setSequentialPeriodIds(String sequentialPeriodIds) {
		this.sequentialPeriodIds = sequentialPeriodIds;
	}

	public String getStepPeriodIds() {
		return stepPeriodIds;
	}

	public void setStepPeriodIds(String stepPeriodIds) {
		this.stepPeriodIds = stepPeriodIds;
	}

	public Long getWithPeriodId() {
		return withPeriodId;
	}

	public void setWithPeriodId(Long withPeriodId) {
		this.withPeriodId = withPeriodId;
	}
}
